export interface User {
    id: number;
    openid: string;
    username: string|undefined;
    avatar: string|undefined;
    phone: string|undefined;
    role: UserRole;
    teacher_id: number|undefined;
    status: UserStatus;
};

export enum UserRole {
    SuperAdmin = 0,
    Admin = 1,
    Teacher = 2,
    Student = 3,
}

export enum UserStatus {
    Error = -1,
    Normal = 0,
    NeedConfirm = 1,
}
